home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 2 / Apprentice-Release2.iso / Source Code / Libraries / TurboTCP 2.0.1 / MiniTelnet source / CTelnetSettingsDLOG.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-05-24  |  1015 b   |  55 lines  |  [TEXT/MPCC]

  1. /*
  2. ** CTelnetSettingsDLOG.h
  3. **
  4. **    MiniTelnet application
  5. **    Telnet settings dialog director
  6. **
  7. **    Copyright © 1993-94, FrostByte Design / Eric Scouten
  8. **
  9. */
  10.  
  11.  
  12. #pragma once
  13.  
  14. #include "CDLOGDirector.h"
  15. #include "MiniTelnet.const.h"
  16.  
  17.  
  18. /*______________________________________________________________________
  19. **
  20. ** CTelnetSettingsDLOG
  21. **
  22. **    This class provides the dialog box used to collect information on the Telnet connection.
  23. **    It packages these settings into a record used by CTelnetTerminal to open connections.
  24. **
  25. */
  26.  
  27. class CTelnetSettingsDLOG : public CDLOGDirector {
  28.  
  29. public:
  30.     TelnetSettingsRec    r;                // settings record (see TelnetSettingsRec)
  31.  
  32.  
  33.     // constructor
  34.  
  35.                     CTelnetSettingsDLOG(CDirectorOwner* aSupervisor);
  36.  
  37.  
  38.     // settings record functions
  39.  
  40.     virtual void        DefaultSettings();
  41.     virtual void        GrabSettings();
  42.     virtual void        PutSettings();
  43.  
  44.  
  45.     // dialog handling functions
  46.  
  47.     virtual void        DoCommand(long theCommand);
  48.     virtual void        UpdateMenus();
  49.  
  50.  
  51.     // file interactions
  52.  
  53.     virtual void        DoSaveFile();
  54.  
  55. };